package BehaviorDesignPattern.VisitorPattern;

// 具体元素A
class ConcreteElementA implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visitConcreteElementA(this);
    }

    public String operationA() {
        return "具体元素A";
    }
}
